package com.gitee.ixtf.vertx.handler

import com.gitee.ixtf.core.kotlinx.rCause
import graphql.execution.SimpleDataFetcherExceptionHandler

object GraphqlExceptionHandler : SimpleDataFetcherExceptionHandler() {
  override fun unwrap(exception: Throwable?): Throwable? = exception?.rCause()
}
